package online.foxnull2.foxmall.product.mapper;

import online.foxnull2.foxmall.product.entity.AttrGroupEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import online.foxnull2.foxmall.product.vo.skuItem.SkuItemVo;
import online.foxnull2.foxmall.product.vo.skuItem.SpuItemAttrGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性分组
 * 
 * @author foxnull2
 */
@Mapper
public interface AttrGroupMapper extends BaseMapper<AttrGroupEntity> {

    List<SpuItemAttrGroup> listAttrGroupWithAttrsBySpuIdAndCatalogId(@Param("spuId") Long spuId, @Param("catalogId") Long catalogId);
}
